import Vue from 'vue'
import Router from 'vue-router'
import movieRouter from './movie'
import movieMine from './mine'
import movieCinema from './cinema'

Vue.use(Router)

export default new Router({
    mode: 'history',
    base: process.env.BASE_URL,
    routes: [
        movieRouter,
        movieMine,
        movieCinema,
        {
            path:'/*',
            redirect:'/movie'
        }
    ]
})